﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<div class="new-partner">
    <div class="pupslogan">
       Bạn có thắc mắc </div>
    <div class="pupname">
       liên hệ với chúng tôi </div>
    <div class="pitem">
      <%--  <%List<Partner> list = (List<Partner>)ViewData["NewPartner"];
          foreach (Partner item in list)
          {
              sp_GetMainPartnerAddressResult mainPartnerAddress = new PartnerDao().GetMainPartnerAddress(item.ID);
              if (mainPartnerAddress != null)
              {%>
        <div class="psitem">
            <div class="name">
                <a href="<%=FRouter._("sanpham", mainPartnerAddress.PartnerID.ToString(), mainPartnerAddress.PartnerName) %>">
                    <%=HttpUtility.HtmlEncode(mainPartnerAddress.PartnerName)%></a></div>
            <div class="info">
                <%=HttpUtility.HtmlEncode(mainPartnerAddress.DisplayAddress)%>
                <br />
                Giảm giá:
                <%= HttpUtility.HtmlEncode(mainPartnerAddress.DiscountInfo)%>
            </div>
            <div>
                <img src="<%=Constants.PHOTO_PATH_ROOT_PARTNER + (!string.IsNullOrEmpty(mainPartnerAddress.Image)?mainPartnerAddress.Image:" NoImage.jpg") %>" width="290"
                    height="135" /></div>
        </div>
        <%
}
          }
        %>--%>
    </div>
</div>
<script type="text/javascript">
    $(document).ready(function () {
        $('.pitem').cycle({
            fx: 'turnDown',
            delay: 4000,
            pause: 1
        });
    });
</script>
